/*
 * System_Message.h
 *
 *  Created on: Jun 21, 2009
 *      Author: ortal
 */

#ifndef SYSTEM_MESSAGE_H_
#define SYSTEM_MESSAGE_H_

#include <string>
using namespace std;

class System_Message
{

	public:
		//for killNode, reviveNode, printRt
		System_Message(string com, int uniqeId);
		//for killall
		System_Message(string com);
		//for sendPacket
		System_Message(string com, int source, int target, string txt);
		string getCommand();
		int getUniqeId();
		int getSource();
		int getTarget();
		string getTxt();


	private:
		string _command;
		int _uniqeId;
		int _source;
		int _target;
		string _txt;
};

#endif /* SYSTEM_MESSAGE_H_ */
